/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Br.Com.Cds.Academia.View;

import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.JFrame;

/**
 *
 * @author p
 */
public class TelaPrincipal extends javax.swing.JFrame {
    
 TelaCadastroAluno telaAluno;
 TelaCadastroBiometria telabiometria;
 TelaCadastroFuncionario telafuncionario;
 TelaCadastroModalidade telamodalidade;
 TelaCadastroPlano telaplano;
 TelaTurma telaturmas;
 TelaGrupo telagrupos;
 TelaCaixaVenda telacaixa;
 TelaVenda telavendas;
 TelaFaleConosco telafaleconoscocds;
 TelaCadastroProduto telaproduto;
 TelaConfiguracao telaconfig;
 TelaCadastroExercicio telaexercicio;
 TelaWebcam telaweb;
 TelaCadastroContasPg telacontaspagar;
 TelaCadastroConta telaconta;
 TelaAberturaCaixa Telaabertura;
 TelaCadastroFormasPgto telaforma;
 TelaCadastroBanco telabanco;
 TelaBackup Telabackupbanco;
 TelaBaixaCrCp telaestornofinc;
 TelaCadastroUsuario telaUsuario;
 TelaBaixaCrCp telacrcp;
 TelaEstorno telaestornocpcr;

 
 
 
 private void chamaTelaEstorno (){
     
     if (telaestornocpcr == null) {
         telaestornocpcr = new  TelaEstorno();
         telaestornocpcr.setVisible(true); 
     } else {
         telaestornocpcr.setVisible(true);
         telaestornocpcr.setState(JFrame.NORMAL);
     }
     
 }
           
 
 private void chamaTelaBaixaCrCP (){
     
     if (telacrcp == null) {
         telacrcp = new  TelaBaixaCrCp();
         telacrcp.setVisible(true); 
     } else {
         telacrcp.setVisible(true);
         telacrcp.setState(JFrame.NORMAL);
     }
     
 }
           
         
 private void chamaTelaUsuario(){
     
     if (telaUsuario==null) {
         telaUsuario = new TelaCadastroUsuario();
         telaUsuario.setVisible(true); 
     } else {
         telaUsuario.setVisible(true);
         telaUsuario.setState(JFrame.NORMAL);
     }
 }
   
 
 
 private void chamaTelaBackup(){
     if (Telabackupbanco==null) {
         Telabackupbanco = new TelaBackup();
         Telabackupbanco.setVisible(true); 
     } else {
         Telabackupbanco.setVisible(true);
         Telabackupbanco.setState(JFrame.NORMAL);
     }
 }
 
 
 private void chamaTelaBanco(){
     if (telabanco==null) {
         telabanco = new TelaCadastroBanco();
         telabanco.setVisible(true); 
     } else {
         telabanco.setVisible(true);
         telabanco.setState(JFrame.NORMAL);
     }
 }
 
 
 private void chamaTelaFormaPagamento(){
     if (telaforma==null) {
         telaforma = new TelaCadastroFormasPgto();
         telaforma.setVisible(true); 
     } else {
         telaforma.setVisible(true);
         telaforma.setState(JFrame.NORMAL);
     }
 }
 
 
 private void chamaTelaAberturaCaixa(){
     if (Telaabertura==null) {
         Telaabertura = new TelaAberturaCaixa();
         Telaabertura.setVisible(true); 
     } else {
         Telaabertura.setVisible(true);
         Telaabertura.setState(JFrame.NORMAL);
     }
 }
 
 
 private void chamaTelaConta(){
     if (telaconta==null) {
         telaconta = new TelaCadastroConta();
         telaconta.setVisible(true); 
     } else {
         telaconta.setVisible(true);
         telaconta.setState(JFrame.NORMAL);
     }
 }
 
 
 
 private void chamaTelaContasPagar(){
     if (telacontaspagar==null) {
         telacontaspagar = new TelaCadastroContasPg();
         telacontaspagar.setVisible(true); 
     } else {
         telacontaspagar.setVisible(true);
         telacontaspagar.setState(JFrame.NORMAL);
     }
 }
 
 
 private void chamaTelaWebcam(){
     if (telaweb==null) {
         telaweb = new TelaWebcam();
         telaweb.setVisible(true); 
     } else {
         telaweb.setVisible(true);
         telaweb.setState(JFrame.NORMAL);
     }
 }
 
 private void chamaTelaExercicio (){
     if (telaexercicio==null) {
         telaexercicio = new TelaCadastroExercicio();
         telaexercicio.setVisible(true); 
     } else {
         telaexercicio.setVisible(true);
         telaexercicio.setState(JFrame.NORMAL);
     }
 }
 
 
 private void chamaTelaConfiguracao (){
     if (telaconfig==null) {
         telaconfig = new TelaConfiguracao();
         telaconfig.setVisible(true); 
     } else {
         telaconfig.setVisible(true);
         telaconfig.setState(JFrame.NORMAL);
     }
 }
 
 private void chamaTelaProduto (){
     if (telaproduto==null) {
         telaproduto = new TelaCadastroProduto();
         telaproduto.setVisible(true); 
     } else {
         telaproduto.setVisible(true);
         telaproduto.setState(JFrame.NORMAL);
     }
 }
  
 
 
 private void chamaTelaFaleConosco (){
     if (telafaleconoscocds==null) {
         telafaleconoscocds = new TelaFaleConosco();
         telafaleconoscocds.setVisible(true); 
     } else {
         telafaleconoscocds.setVisible(true);
         telafaleconoscocds.setState(JFrame.NORMAL);
     }
 }
 
 
 
 
 private void chamaTelaVenda (){
     if (telavendas==null) {
         telavendas = new TelaVenda();
         telavendas.setVisible(true); 
     } else {
         telavendas.setVisible(true);
         telavendas.setState(JFrame.NORMAL);
     }
 }
 
 
 
 
 private void chamaTelaCaixa (){
     if (telacaixa==null) {
         telacaixa = new TelaCaixaVenda();
         telacaixa.setVisible(true); 
     } else {
         telacaixa.setVisible(true);
         telacaixa.setState(JFrame.NORMAL);
     }
 }
 
 
 
 
 private void chamaTelaGrupo (){
     if (telagrupos==null) {
         telagrupos = new TelaGrupo();
         telagrupos.setVisible(true); 
     } else {
         telagrupos.setVisible(true);
         telagrupos.setState(JFrame.NORMAL);
     }
 }
 
 
 private void chamaTelaTurma (){
     if (telaturmas==null) {
         telaturmas = new TelaTurma();
         telaturmas.setVisible(true); 
     } else {
         telaturmas.setVisible(true);
         telaturmas.setState(JFrame.NORMAL);
     }
 }
 
 
 
 private void chamaTelaPlano (){
     if (telaplano==null) {
         telaplano = new TelaCadastroPlano();
         telaplano.setVisible(true); 
     } else {
         telaplano.setVisible(true);
         telaplano.setState(JFrame.NORMAL);
     }
 }
 
 
 
 
   private void chamaTelaModalidade (){
     if (telamodalidade==null) {
         telamodalidade = new TelaCadastroModalidade();
         telamodalidade.setVisible(true); 
     } else {
         telamodalidade.setVisible(true);
         telamodalidade.setState(JFrame.NORMAL);
     }
 }
 
 
 
 
 private void chamaTelaFuncionario (){
     if (telafuncionario==null) {
         telafuncionario = new TelaCadastroFuncionario();
         telafuncionario.setVisible(true); 
     } else {
         telafuncionario.setVisible(true);
         telafuncionario.setState(JFrame.NORMAL);
     }
 }
 
 
 
  private void chamaTelaBiometria (){
      
      if (telabiometria==null){
          telabiometria = new TelaCadastroBiometria();
          telabiometria.setVisible(true);
          
      }else {
          telabiometria.setVisible(true);
          telabiometria.setState(JFrame.NORMAL);
      }
  }  
 
 
  
  private void chamaTelaAluno (){
      
      if (telaAluno==null){
          telaAluno = new TelaCadastroAluno();
          telaAluno.setVisible(true);
          
      }else {
          telaAluno.setVisible(true);
          telaAluno.setState(JFrame.NORMAL);
      }
  } 
    
    
    
    
    
    
    
    
    // Deixar tela principal cheia
    public void maximizarTela(){
    setExtendedState(JFrame.MAXIMIZED_BOTH);
    
    }
  
    
   
    // Data do PC
    private void getData(){
    Date dataHoje = new Date();
    SimpleDateFormat formataData = new SimpleDateFormat("dd/MM/yyyy");
    String data = formataData.format(dataHoje);
    LBdata.setText(data); 

}
    
    

    
    
    
    public TelaPrincipal(){
        initComponents();
        maximizarTela();
        getData ();
         
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jButton7 = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        jPanel10 = new javax.swing.JPanel();
        jLabel41 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();
        LBHora = new javax.swing.JLabel();
        LBData = new javax.swing.JLabel();
        LBUsuario = new javax.swing.JLabel();
        LBdata = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel2 = new javax.swing.JPanel();
        BTCadastroAluno = new javax.swing.JButton();
        BTCadastroFuncionario = new javax.swing.JButton();
        BTCadastroTurmas = new javax.swing.JButton();
        BTCadastroPlanos = new javax.swing.JButton();
        BTCadastroProduto = new javax.swing.JButton();
        BTCadastroModalidade = new javax.swing.JButton();
        BTCadastroGrupo = new javax.swing.JButton();
        BTCadastroExercicio = new javax.swing.JButton();
        BTCadastroExercicio1 = new javax.swing.JButton();
        jPanel11 = new javax.swing.JPanel();
        BTVenda = new javax.swing.JButton();
        BTAvalicaoFisica = new javax.swing.JButton();
        BTTreinos = new javax.swing.JButton();
        BTBiometriaPrincipal = new javax.swing.JButton();
        jPanel12 = new javax.swing.JPanel();
        BTEstorno = new javax.swing.JButton();
        BTContasPg = new javax.swing.JButton();
        BTContas = new javax.swing.JButton();
        BTBancos = new javax.swing.JButton();
        BTFormasPgto = new javax.swing.JButton();
        BTEstorno1 = new javax.swing.JButton();
        jPanel13 = new javax.swing.JPanel();
        BTSituacaoAluno = new javax.swing.JButton();
        BTFrequencia = new javax.swing.JButton();
        BTRelatorioVenda = new javax.swing.JButton();
        BTRelatorioProdutos = new javax.swing.JButton();
        BTFinanceiro = new javax.swing.JButton();
        BTMatricula = new javax.swing.JButton();
        jPanel14 = new javax.swing.JPanel();
        BTConfiguracao = new javax.swing.JButton();
        BTBackup = new javax.swing.JButton();
        BTFaleConosco = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        BTBiometria = new javax.swing.JButton();
        LBLogo = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();

        jButton7.setText("jButton7");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("CDS ACADEMIA");

        jPanel1.setBackground(new java.awt.Color(255, 255, 255));

        jPanel10.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED));

        jLabel41.setFont(new java.awt.Font("Yu Gothic", 3, 10)); // NOI18N
        jLabel41.setText("Usuário:");

        jLabel42.setFont(new java.awt.Font("Yu Gothic", 3, 10)); // NOI18N
        jLabel42.setText("Banco de Dados: MySQL");

        LBHora.setFont(new java.awt.Font("Yu Gothic", 3, 10)); // NOI18N
        LBHora.setText("Hora:");

        LBData.setFont(new java.awt.Font("Yu Gothic", 3, 10)); // NOI18N
        LBData.setText("Data:");

        LBUsuario.setFont(new java.awt.Font("Yu Gothic", 3, 10)); // NOI18N
        LBUsuario.setText("Pedro");

        LBdata.setFont(new java.awt.Font("Yu Gothic", 3, 10)); // NOI18N

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel41, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(LBUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(321, 321, 321)
                .addComponent(jLabel42, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(LBHora, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(228, 228, 228)
                .addComponent(LBData, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(LBdata, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(33, 33, 33))
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel10Layout.createSequentialGroup()
                .addGap(0, 0, Short.MAX_VALUE)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(LBdata, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel41)
                        .addComponent(jLabel42)
                        .addComponent(LBHora)
                        .addComponent(LBData)
                        .addComponent(LBUsuario))))
        );

        jTabbedPane1.setBackground(new java.awt.Color(224, 255, 255));
        jTabbedPane1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jTabbedPane1.setToolTipText("");
        jTabbedPane1.setFont(new java.awt.Font("Yu Gothic", 1, 14)); // NOI18N

        BTCadastroAluno.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroAluno.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Male.png"))); // NOI18N
        BTCadastroAluno.setText("Cadastro de Aluno");
        BTCadastroAluno.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroAlunoActionPerformed(evt);
            }
        });

        BTCadastroFuncionario.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroFuncionario.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Boss.png"))); // NOI18N
        BTCadastroFuncionario.setText("Cadastro de Funcionários");
        BTCadastroFuncionario.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroFuncionarioActionPerformed(evt);
            }
        });

        BTCadastroTurmas.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroTurmas.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/User group.png"))); // NOI18N
        BTCadastroTurmas.setText("Cadastro de Turmas");
        BTCadastroTurmas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroTurmasActionPerformed(evt);
            }
        });

        BTCadastroPlanos.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroPlanos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Notes.png"))); // NOI18N
        BTCadastroPlanos.setText("Cadastro de Planos");
        BTCadastroPlanos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroPlanosActionPerformed(evt);
            }
        });

        BTCadastroProduto.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroProduto.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Shopping cart.png"))); // NOI18N
        BTCadastroProduto.setText("Cadastro Produto");
        BTCadastroProduto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroProdutoActionPerformed(evt);
            }
        });

        BTCadastroModalidade.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroModalidade.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Clipboard.png"))); // NOI18N
        BTCadastroModalidade.setText("Modalidade");
        BTCadastroModalidade.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroModalidadeActionPerformed(evt);
            }
        });

        BTCadastroGrupo.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroGrupo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/New document.png"))); // NOI18N
        BTCadastroGrupo.setText("Grupos");
        BTCadastroGrupo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroGrupoActionPerformed(evt);
            }
        });

        BTCadastroExercicio.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroExercicio.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/exercicio 2.png"))); // NOI18N
        BTCadastroExercicio.setText("Cadastro de Exercício");
        BTCadastroExercicio.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroExercicioActionPerformed(evt);
            }
        });

        BTCadastroExercicio1.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTCadastroExercicio1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Male.png"))); // NOI18N
        BTCadastroExercicio1.setText("Cadastro de Usuários");
        BTCadastroExercicio1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTCadastroExercicio1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BTCadastroFuncionario, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTCadastroAluno, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BTCadastroPlanos, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTCadastroTurmas))
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(BTCadastroModalidade, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(BTCadastroGrupo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(BTCadastroProduto, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(BTCadastroExercicio)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(BTCadastroExercicio1)
                .addContainerGap(412, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(BTCadastroModalidade, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTCadastroGrupo)
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(BTCadastroAluno, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(BTCadastroTurmas)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTCadastroFuncionario)
                    .addComponent(BTCadastroPlanos)
                    .addComponent(BTCadastroProduto)
                    .addComponent(BTCadastroExercicio)
                    .addComponent(BTCadastroExercicio1))
                .addGap(15, 15, 15))
        );

        jTabbedPane1.addTab("Controle", jPanel2);

        BTVenda.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTVenda.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Shopping cart.png"))); // NOI18N
        BTVenda.setText("Venda");
        BTVenda.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTVendaActionPerformed(evt);
            }
        });

        BTAvalicaoFisica.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTAvalicaoFisica.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Heart.png"))); // NOI18N
        BTAvalicaoFisica.setText("Avaliação Física");

        BTTreinos.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTTreinos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/treino.png"))); // NOI18N
        BTTreinos.setText("Treinos");

        BTBiometriaPrincipal.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTBiometriaPrincipal.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/biometria.png"))); // NOI18N
        BTBiometriaPrincipal.setText("Biometria");
        BTBiometriaPrincipal.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTBiometriaPrincipalActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BTBiometriaPrincipal, javax.swing.GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)
                    .addComponent(BTVenda, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(BTAvalicaoFisica)
                    .addComponent(BTTreinos, javax.swing.GroupLayout.PREFERRED_SIZE, 149, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(1052, Short.MAX_VALUE))
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTVenda, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(BTAvalicaoFisica))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTBiometriaPrincipal)
                    .addComponent(BTTreinos, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Utilitários", jPanel11);

        BTEstorno.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTEstorno.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Redo.png"))); // NOI18N
        BTEstorno.setText("Estorno");
        BTEstorno.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTEstornoActionPerformed(evt);
            }
        });

        BTContasPg.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTContasPg.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/avaliacao.png"))); // NOI18N
        BTContasPg.setText("Contas a Pagar");
        BTContasPg.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTContasPgActionPerformed(evt);
            }
        });

        BTContas.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTContas.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/List.png"))); // NOI18N
        BTContas.setText("Contas");
        BTContas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTContasActionPerformed(evt);
            }
        });

        BTBancos.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTBancos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Dollar.png"))); // NOI18N
        BTBancos.setText("Bancos");
        BTBancos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTBancosActionPerformed(evt);
            }
        });

        BTFormasPgto.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTFormasPgto.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Dollar.png"))); // NOI18N
        BTFormasPgto.setText("Formas de Pagamento");
        BTFormasPgto.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTFormasPgtoActionPerformed(evt);
            }
        });

        BTEstorno1.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTEstorno1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Apply.png"))); // NOI18N
        BTEstorno1.setText("Baixa Cr/Cp");
        BTEstorno1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTEstorno1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanel12Layout.createSequentialGroup()
                        .addComponent(BTBancos, javax.swing.GroupLayout.PREFERRED_SIZE, 185, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(BTContas, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel12Layout.createSequentialGroup()
                        .addComponent(BTFormasPgto)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(BTContasPg, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(BTEstorno, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(BTEstorno1, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(840, Short.MAX_VALUE))
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTBancos, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTContas)
                    .addComponent(BTEstorno1, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTFormasPgto, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTContasPg, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(BTEstorno, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Financeiro", jPanel12);

        BTSituacaoAluno.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTSituacaoAluno.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/3d bar chart.png"))); // NOI18N
        BTSituacaoAluno.setText("Situação do Aluno");

        BTFrequencia.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTFrequencia.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/3d bar chart.png"))); // NOI18N
        BTFrequencia.setText("Frequência ");

        BTRelatorioVenda.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTRelatorioVenda.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/3d bar chart.png"))); // NOI18N
        BTRelatorioVenda.setText("Venda");

        BTRelatorioProdutos.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTRelatorioProdutos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/3d bar chart.png"))); // NOI18N
        BTRelatorioProdutos.setText("Produtos");

        BTFinanceiro.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTFinanceiro.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/3d bar chart.png"))); // NOI18N
        BTFinanceiro.setText("Financeiro");

        BTMatricula.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTMatricula.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/3d bar chart.png"))); // NOI18N
        BTMatricula.setText("Matrícula");

        javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
        jPanel13.setLayout(jPanel13Layout);
        jPanel13Layout.setHorizontalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BTSituacaoAluno, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTFrequencia, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(14, 14, 14)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BTRelatorioProdutos, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE)
                    .addComponent(BTRelatorioVenda, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BTMatricula, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTFinanceiro, javax.swing.GroupLayout.DEFAULT_SIZE, 134, Short.MAX_VALUE))
                .addContainerGap(889, Short.MAX_VALUE))
        );
        jPanel13Layout.setVerticalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTSituacaoAluno)
                    .addComponent(BTRelatorioVenda)
                    .addComponent(BTFinanceiro))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTMatricula)
                    .addComponent(BTRelatorioProdutos)
                    .addComponent(BTFrequencia))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Relatórios", jPanel13);

        jPanel14.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N

        BTConfiguracao.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTConfiguracao.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Pinion.png"))); // NOI18N
        BTConfiguracao.setText("Configuração");
        BTConfiguracao.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTConfiguracaoActionPerformed(evt);
            }
        });

        BTBackup.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTBackup.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Database.png"))); // NOI18N
        BTBackup.setText("Backup");
        BTBackup.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTBackupActionPerformed(evt);
            }
        });

        BTFaleConosco.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTFaleConosco.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Mobile-phone.png"))); // NOI18N
        BTFaleConosco.setText("Fale Conosco");
        BTFaleConosco.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTFaleConoscoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel14Layout = new javax.swing.GroupLayout(jPanel14);
        jPanel14.setLayout(jPanel14Layout);
        jPanel14Layout.setHorizontalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(BTBackup, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(BTConfiguracao, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(BTFaleConosco, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(1045, Short.MAX_VALUE))
        );
        jPanel14Layout.setVerticalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BTConfiguracao)
                    .addComponent(BTFaleConosco, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(BTBackup, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        jTabbedPane1.addTab("Suporte", jPanel14);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/Pedro.png"))); // NOI18N

        BTBiometria.setFont(new java.awt.Font("Yu Gothic", 0, 12)); // NOI18N
        BTBiometria.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/biometria.png"))); // NOI18N
        BTBiometria.setText("Biometria");
        BTBiometria.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BTBiometriaActionPerformed(evt);
            }
        });

        LBLogo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Recurso/logo 2.png"))); // NOI18N

        jLabel2.setFont(new java.awt.Font("Yu Gothic", 1, 10)); // NOI18N
        jLabel2.setText(" F1> Cadastro de Aluno    F2> Nova Matrícula    F3> Abrir Venda    F4> Treinos    F5> Contas a Pagar    F6> Contas a Receber   F7> Rel. Movimentação   F8> Rel.Frequência   F9> Rel.Matricula   F10> Backup");

        jLabel4.setFont(new java.awt.Font("Yu Gothic", 1, 10)); // NOI18N
        jLabel4.setText("(81)3126-3150");

        jLabel5.setFont(new java.awt.Font("Yu Gothic", 1, 10)); // NOI18N
        jLabel5.setText("www.cdssistemas.com");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jTabbedPane1)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel2)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addGap(77, 77, 77)
                .addComponent(LBLogo)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel4)
                            .addComponent(jLabel5))
                        .addGap(29, 29, 29))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addComponent(BTBiometria)
                        .addContainerGap())))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(35, 35, 35)
                        .addComponent(LBLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 443, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE)
                        .addComponent(jLabel2))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(BTBiometria)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel5)))
                .addGap(18, 18, 18)
                .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(0, 0, 0)
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void BTCadastroExercicioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroExercicioActionPerformed
chamaTelaExercicio();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroExercicioActionPerformed

    private void BTCadastroAlunoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroAlunoActionPerformed
chamaTelaAluno();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroAlunoActionPerformed

    private void BTCadastroFuncionarioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroFuncionarioActionPerformed
chamaTelaFuncionario();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroFuncionarioActionPerformed

    private void BTCadastroTurmasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroTurmasActionPerformed
chamaTelaTurma();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroTurmasActionPerformed

    private void BTCadastroPlanosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroPlanosActionPerformed
chamaTelaPlano();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroPlanosActionPerformed

    private void BTCadastroModalidadeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroModalidadeActionPerformed
chamaTelaModalidade();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroModalidadeActionPerformed

    private void BTCadastroProdutoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroProdutoActionPerformed
chamaTelaProduto();// TODO add ca handling code here:
    }//GEN-LAST:event_BTCadastroProdutoActionPerformed

    private void BTCadastroGrupoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroGrupoActionPerformed
chamaTelaGrupo();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroGrupoActionPerformed

    private void BTBiometriaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTBiometriaActionPerformed
chamaTelaBiometria();        // TODO add your handling code here:
    }//GEN-LAST:event_BTBiometriaActionPerformed

    private void BTVendaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTVendaActionPerformed
chamaTelaVenda();        // TODO add your handling code here:
    }//GEN-LAST:event_BTVendaActionPerformed

    private void BTBiometriaPrincipalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTBiometriaPrincipalActionPerformed
chamaTelaBiometria();        // TODO add your handling code here:
    }//GEN-LAST:event_BTBiometriaPrincipalActionPerformed

    private void BTBancosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTBancosActionPerformed
chamaTelaBanco();        // TODO add your handling code here:
    }//GEN-LAST:event_BTBancosActionPerformed

    private void BTFormasPgtoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTFormasPgtoActionPerformed
chamaTelaFormaPagamento();        // TODO add your handling code here:
    }//GEN-LAST:event_BTFormasPgtoActionPerformed

    private void BTContasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTContasActionPerformed
chamaTelaConta();        // TODO add your handling code here:
    }//GEN-LAST:event_BTContasActionPerformed

    private void BTContasPgActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTContasPgActionPerformed
chamaTelaContasPagar();        // TODO add your handling code here:
    }//GEN-LAST:event_BTContasPgActionPerformed

    private void BTConfiguracaoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTConfiguracaoActionPerformed
chamaTelaConfiguracao();        // TODO add your handling code here:
    }//GEN-LAST:event_BTConfiguracaoActionPerformed

    private void BTFaleConoscoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTFaleConoscoActionPerformed
chamaTelaFaleConosco();        // TODO add your handling code here:
    }//GEN-LAST:event_BTFaleConoscoActionPerformed

    private void BTBackupActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTBackupActionPerformed
chamaTelaBackup();        // TODO add your handling code here:
    }//GEN-LAST:event_BTBackupActionPerformed

    private void BTEstornoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTEstornoActionPerformed
chamaTelaEstorno();     // TODO add your handling code here:
    }//GEN-LAST:event_BTEstornoActionPerformed

    private void BTCadastroExercicio1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTCadastroExercicio1ActionPerformed
chamaTelaUsuario();        // TODO add your handling code here:
    }//GEN-LAST:event_BTCadastroExercicio1ActionPerformed

    private void BTEstorno1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BTEstorno1ActionPerformed
chamaTelaBaixaCrCP();        // TODO add your handling code here:
    }//GEN-LAST:event_BTEstorno1ActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(TelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(TelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(TelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TelaPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new TelaPrincipal().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton BTAvalicaoFisica;
    private javax.swing.JButton BTBackup;
    private javax.swing.JButton BTBancos;
    private javax.swing.JButton BTBiometria;
    private javax.swing.JButton BTBiometriaPrincipal;
    private javax.swing.JButton BTCadastroAluno;
    private javax.swing.JButton BTCadastroExercicio;
    private javax.swing.JButton BTCadastroExercicio1;
    private javax.swing.JButton BTCadastroFuncionario;
    private javax.swing.JButton BTCadastroGrupo;
    private javax.swing.JButton BTCadastroModalidade;
    private javax.swing.JButton BTCadastroPlanos;
    private javax.swing.JButton BTCadastroProduto;
    private javax.swing.JButton BTCadastroTurmas;
    private javax.swing.JButton BTConfiguracao;
    private javax.swing.JButton BTContas;
    private javax.swing.JButton BTContasPg;
    private javax.swing.JButton BTEstorno;
    private javax.swing.JButton BTEstorno1;
    private javax.swing.JButton BTFaleConosco;
    private javax.swing.JButton BTFinanceiro;
    private javax.swing.JButton BTFormasPgto;
    private javax.swing.JButton BTFrequencia;
    private javax.swing.JButton BTMatricula;
    private javax.swing.JButton BTRelatorioProdutos;
    private javax.swing.JButton BTRelatorioVenda;
    private javax.swing.JButton BTSituacaoAluno;
    private javax.swing.JButton BTTreinos;
    private javax.swing.JButton BTVenda;
    private javax.swing.JLabel LBData;
    private javax.swing.JLabel LBHora;
    private javax.swing.JLabel LBLogo;
    private javax.swing.JLabel LBUsuario;
    private javax.swing.JLabel LBdata;
    private javax.swing.JButton jButton7;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel14;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JTabbedPane jTabbedPane1;
    // End of variables declaration//GEN-END:variables
}
